Compare the transaction date of two transactions.
0 if they are the same, < 0 if left is less than right, > 0 otherwise.
First transaction to compare (left hand side).
Second transaction to compare (right hand side).